//
//  MenuModel.m
//  FreshBee
//
//  Created by ymQiao on 16/10/16.
//  Copyright © 2016年 iOS013. All rights reserved.
//

#import "MenuModel.h"

@implementation MenuModel

+ (instancetype)menuModelWithDict:(NSDictionary *)dict
{
    MenuModel *model = [[MenuModel alloc] init];
    [model setValuesForKeysWithDictionary:dict];
    return model;
}


- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        [self setValue:value forKey:@"sid"];
    }
}

@end
